import Home from '../Page/Home'
import Me from '../Page/Me'
import MainLayout from '../Page/MainLayout'
import Todo from '../Page/Todo'
import { createBrowserRouter } from 'react-router-dom'
import Chat from '../Page/Chat'
export const router = createBrowserRouter([
  {
    path:"/",
    element:<MainLayout/>,
    children:[
        {path:"/",element:<Home/>},
        {path:"/me",element:<Me/>},
        {path:'/chat',element:<Chat/>},
        {path:'/todo',element:<Todo/>}
    ]
  }
])